package com.test1223;

public class Test06 {
    public static void main(String[] args) {
        // 打印1,3,5,7,9
        for(int i=1;i<=9;i+=2){
            System.out.print(i+",");
        }
        System.out.println();
        // 打印10,8,6,4,2
        for(int j=10;j>=2;j-=2){
            System.out.print(j+",");
        }

    }
}
